package com.dream.technology.db.dao;

import com.dream.technology.db.entity.RcClassification;
import com.dream.technology.db.entity.RcClassificationQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RcClassificationMapper {
    int countByExample(RcClassificationQuery example);

    int deleteByExample(RcClassificationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(RcClassification record);

    int insertSelective(RcClassification record);

    List<RcClassification> selectByExample(RcClassificationQuery example);

    RcClassification selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RcClassification record, @Param("example") RcClassificationQuery example);

    int updateByExample(@Param("record") RcClassification record, @Param("example") RcClassificationQuery example);

    int updateByPrimaryKeySelective(RcClassification record);

    int updateByPrimaryKey(RcClassification record);
}